{% extends "main/index.html" %}

{% load i18n %}

{% block title %}
<title>{% trans "Loggin in to the system" %}</title>
{% endblock %}

{% block content %}

<div class="titulo_contenedor">
    <span>{% trans "Login to the SIROGI system" %}</span>
</div>

<div class="cuerpo_contenedor">

    <div class="login_form">
		{% if form.errors %}
		<p>{% trans "Your username and password didn't match. Please try again." %}</p>
		{% endif %}

		<form method="post" action=".">
		<table>
		<tr><td>{{ form.username.label_tag }}</td><td>{{ form.username }}</td></tr>
		<tr><td>{{ form.password.label_tag }}</td><td>{{ form.password }}</td></tr>
		</table>

		<input type="submit" value="{% trans 'Log in' %}" class="boton_2"  />
		<input type="hidden" name="next" value="{{ next }}" />
		</form>
	</div>
</div>

<div class="fondo_contenedor">
</div>


{% endblock %}
